Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODPart


HighlightChanged

The HighlightChanged method should update the highlight state of the specified facet of this part.

void HighlightChanged (in ODFacet facet);
facet
A reference to a facet of this part.
DISCUSSION
OpenDoc calls this method when the highlight state of one of your part's facets changes. This allows your part to draw its content consistently with the content highlighting of your part's containing part.

Your part's HighlightChanged method should adjust your part's presentation in the facet to its new highlight state. The new state is found by calling the facet's GetHighlight method.

OVERRIDING
When you subclass ODPart, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.

EXCEPTIONS
kODErrInvalidFacet
The specified facet is not a facet of this part.
SEE ALSO
The ODFacet::ChangeHighlight method (page 235).
The ODFacet::GetHighlight method (page 247).
"The HighlightChanged Method" on page 74 in OpenDoc Cookbook.
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Setting Up" on page 157 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help